<table class ="infopost">
	<tbody>
		<tr>
			<td class="left">
				<span><i class="ccat icon-list"></i> <?php echo CHtml::link(Util::itemAlias('Event', $data->event_fg), array('site/index', 'category' => $data->event_fg), array('class' => 'post_category'))?></span>
				<span><i class="author icon-user"></i> <?php echo CHtml::encode($data->owner->username); ?></span>
				<span><i class="ctime icon-time"></i> <?php echo Util::formatTime($data->created, false, '-'); ?></span>
			</td>
			<?php if(Yii::app()->controller->action->id !== 'search'):?>
			<td class="right" width="180px;">
					<span title="Đã xem"><i class="view icon-eye-open"></i> <?php echo $viewNum;?></span>
					<span title="Bình luận"><i class="ccomment icon-comment"></i> <font id="count-comment"><?php echo $commentNum;?></font></span>
					<?php if ($data->event_fg == 1) :?>
					<!-- <span title="Tham gia"><i class="accept icon-thumbs-up"></i> <?php //echo $joinNum?></span>
					<span title="Không tham gia"><i class="unacceept icon-thumbs-down"></i> <?php //echo $unJoinNum?></span> -->
					<?php endif;?>
			</td>
			<?php endif;?>
		</tr>
	</tbody>
</table>